package com.service;

import com.domain.Admin;

import java.util.List;

public interface IManagerService {
  Admin login(Integer paramInteger, String paramString) throws Exception;
  
  List<Admin> getAllAdmin();
  
  int addAdmin(Admin paramAdmin);
  
  int updateAdmin(Admin paramAdmin);
  
  Admin getAdminById(Integer paramInteger);
  
  int deleteAdmin(Integer paramInteger);
  
  List<Admin> getByName(Integer paramInteger);
}

